package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "doctor_group_main")
public class DoctorGroupMain implements Serializable {

	private static final long serialVersionUID = 7651977164129357392L;
	@Id
	@Column(name = "gid_bigint", columnDefinition = "bigint(20)")
	private Long gid;
	@Column(name = "dc_id_bigint", columnDefinition = "bigint(20)")
	private Long dcId;
	@Column(name = "group_name_nvarchar", columnDefinition = "varchar(255)")
	private String groupName;
	@Column(name = "create_time_datetime", columnDefinition = "datetime(3)")
	private Date createTime;
}
